namespace ZerAx.TBON
{
    public enum TbonType: byte
    {
        Void = 0,
        Byte,
        Int,
        Float,
        String,
        IntArray,
        ByteArray,
        Compound,
    }

    public static class TbonTypeExtensions
    {
        public static byte ToByte(this TbonType type) => (byte)type;
        public static TbonType ToTbonType(this byte type) => (TbonType)type;
    }
}